<?php 
$CI =& get_instance();
$CI->load->library("admin/admin_header_lib");
$CI->admin_header_lib->display_header_element(array("script"=>array("jquery")));
$CI->admin_header_lib->display_header();

$CI->load->library('admin/admin_sidebar_lib');
$CI->admin_sidebar_lib->display_sidebar();

?>
<script type="text/javascript">
function confirmation(id,name) {
   
        var answer = confirm("Delete " + name +" ?");
    if (answer){   
        location = '<?php echo site_url("admin/request_a_quote/delete/")?>/'+ id;
    }else{
        return false;
    }
}  
</script>

<!--End  List-->
<div class="admin_right">
<div class="height7"></div>
<h2 class="head02">details</h2>
<div class="line6"></div>
 
        <?php if(!empty($quotes_detail)): ?>
        <table width="100%" class="grid_tbl02">
        <tr><td>Posted Date : </td> <td><?php echo $quotes_detail['quote_date'] ?></td></tr>
        <tr><td>Full Name : </td> <td><?php echo $quotes_detail['quote_fullname'] ?></td></tr>
        <tr><td>Company : </td> <td><?php echo $quotes_detail['quote_companyname'] ?></td></tr>
		<tr><td>Telephone : </td><td><?php echo $quotes_detail['quote_telephone'] ?></td></tr>
        <tr><td>Email : </td><td><?php echo $quotes_detail['quote_email'] ?></td></tr>
		<tr><td>Job title : </td><td ><?php echo $quotes_detail['quote_jobtitle'] ?></td></tr>
        <tr><td>Colours : </td> <td><?php echo $paper_colour ?></td></tr>
        <tr><td>Paper size : </td> <td><?php echo $paper_size ?></td></tr>
        <tr><td>Paper : </td> <td><?php echo $paper_name ?></td></tr>
        <tr><td>Quantity : </td> <td><?php echo $quotes_detail['quote_quantity'] ?></td></tr>
        <tr><td>Finishing : </td> <td><?php echo $quotes_detail['quote_finishing'] ?></td></tr>
        <tr><td>File uploaded : </td> <td>
        <?php if($quotes_detail['quote_artwork'] != '' && $quotes_detail['quote_artwork'] != 'none'){?><a href=" <?php echo site_url()?>quote_upload/<?php echo $quotes_detail['quote_artwork'] ?>" target="_new"><?php echo $quotes_detail['quote_artwork'] ?></a><?php }else{echo $quotes_detail['quote_artwork'];}?> 
       <?php if(!empty($quotes_detail['quote_artwork_size']))echo $quotes_detail['quote_artwork_size'].'mb' ?>
        </td></tr>
       
		<tr><td colspan="2">
        <div class="height5"></div>
        <div class="line6"></div>
        <a class="red13" href="<?php echo site_url('admin/request_a_quote/index/'.$page); ?>">back</a> <span style="color:#d560ac;"> |</span>
           <a class="red13" style="cursor:pointer;" href="<?php echo site_url("admin/request_a_quote/delete")."/".$quotes_detail['quote_id']?>" onclick="return confirm('Are you sure to delete this quote?')">delete</a>
           <div class="height5"></div>
           <div class="line6"></div>
        </td></tr>
         </table>
        
       

		<?php endif; ?>

       

 

 <div class="pagination">
	<?php echo $pagination; ?>
</div>
<?php /*  end of all  content  */ ?>
</div><!-- page noright -->

<?php  $this->load->view(TEMPLATE_NAME.'/admin/footer');?>